import api from './index';

export const getSortOption = () => {
    return api.get('/file/user-type');
};
export const getFileList=(name)=>{
    return api.get(`/file/list/${name}`)
}
export const exportFileData=(name,types)=>{
return api.get(`/file/export/${name}/${types}`,{responseType: 'blob'})
}
export const deleteFile=(name,types)=>{
    return api.get(`/file/delete/${name}/${types}`)
}